package com.jack006.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "stock_day_detail")
public class StockDayDetail {

    @Id
    private String id;

    /**
     * 股票名称
     */
    private String name;

    /**
     * 股票代码
     */
    private String code;

    /**
     * 删除标记，默认1，删除是时间戳
     */
    @Column(name = "del_flag")
    private Integer delFlag;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 当日换手率
     */
    @Column(name = "day_change_rate")
    private BigDecimal dayChangeRate;

    /**
     * 当日成交量
     */
    @Column(name = "day_finish_volume")
    private Integer dayFinishVolume;

    /**
     * 当日成交额
     */
    @Column(name = "day_total_money")
    private BigDecimal dayTotalMoney;

    /**
     * 当日最高价
     */
    @Column(name = "day_high_price")
    private BigDecimal dayHighPrice;

    /**
     * 当日最高价时间
     */
    @Column(name = "day_high_price_time")
    private Date dayHighPriceTime;

    /**
     * 当日最低价
     */
    @Column(name = "day_low_price")
    private BigDecimal dayLowPrice;

    /**
     * 当日最低价时间
     */
    @Column(name = "day_low_price_time")
    private Date dayLowPriceTime;

    /**
     * 当日开盘价
     */
    @Column(name = "open_price")
    private BigDecimal openPrice;

    /**
     * 昨日收盘价
     */
    @Column(name = "yesterday_price")
    private BigDecimal yesterdayPrice;

    /**
     * 最佳时间
     */
    @Column(name = "best_time")
    private Date bestTime;


    private String advice;

    @Column(name = "diff_money")
    private BigDecimal diffMoney;


    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public BigDecimal getDiffMoney() {
        return diffMoney;
    }

    public void setDiffMoney(BigDecimal diffMoney) {
        this.diffMoney = diffMoney;
    }

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取股票名称
     *
     * @return name - 股票名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置股票名称
     *
     * @param name 股票名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取股票代码
     *
     * @return code - 股票代码
     */
    public String getCode() {
        return code;
    }

    /**
     * 设置股票代码
     *
     * @param code 股票代码
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 获取删除标记，默认1，删除是时间戳
     *
     * @return del_flag - 删除标记，默认1，删除是时间戳
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 设置删除标记，默认1，删除是时间戳
     *
     * @param delFlag 删除标记，默认1，删除是时间戳
     */
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取当日换手率
     *
     * @return day_change_rate - 当日换手率
     */
    public BigDecimal getDayChangeRate() {
        return dayChangeRate;
    }

    /**
     * 设置当日换手率
     *
     * @param dayChangeRate 当日换手率
     */
    public void setDayChangeRate(BigDecimal dayChangeRate) {
        this.dayChangeRate = dayChangeRate;
    }

    /**
     * 获取当日成交量
     *
     * @return day_finish_volume - 当日成交量
     */
    public Integer getDayFinishVolume() {
        return dayFinishVolume;
    }

    /**
     * 设置当日成交量
     *
     * @param dayFinishVolume 当日成交量
     */
    public void setDayFinishVolume(Integer dayFinishVolume) {
        this.dayFinishVolume = dayFinishVolume;
    }

    /**
     * 获取当日成交额
     *
     * @return day_total_money - 当日成交额
     */
    public BigDecimal getDayTotalMoney() {
        return dayTotalMoney;
    }

    /**
     * 设置当日成交额
     *
     * @param dayTotalMoney 当日成交额
     */
    public void setDayTotalMoney(BigDecimal dayTotalMoney) {
        this.dayTotalMoney = dayTotalMoney;
    }

    /**
     * 获取当日最高价
     *
     * @return day_high_price - 当日最高价
     */
    public BigDecimal getDayHighPrice() {
        return dayHighPrice;
    }

    /**
     * 设置当日最高价
     *
     * @param dayHighPrice 当日最高价
     */
    public void setDayHighPrice(BigDecimal dayHighPrice) {
        this.dayHighPrice = dayHighPrice;
    }

    /**
     * 获取当日最高价时间
     *
     * @return day_high_price_time - 当日最高价时间
     */
    public Date getDayHighPriceTime() {
        return dayHighPriceTime;
    }

    /**
     * 设置当日最高价时间
     *
     * @param dayHighPriceTime 当日最高价时间
     */
    public void setDayHighPriceTime(Date dayHighPriceTime) {
        this.dayHighPriceTime = dayHighPriceTime;
    }

    /**
     * 获取当日最低价
     *
     * @return day_low_price - 当日最低价
     */
    public BigDecimal getDayLowPrice() {
        return dayLowPrice;
    }

    /**
     * 设置当日最低价
     *
     * @param dayLowPrice 当日最低价
     */
    public void setDayLowPrice(BigDecimal dayLowPrice) {
        this.dayLowPrice = dayLowPrice;
    }

    /**
     * 获取当日最低价时间
     *
     * @return day_low_price_time - 当日最低价时间
     */
    public Date getDayLowPriceTime() {
        return dayLowPriceTime;
    }

    /**
     * 设置当日最低价时间
     *
     * @param dayLowPriceTime 当日最低价时间
     */
    public void setDayLowPriceTime(Date dayLowPriceTime) {
        this.dayLowPriceTime = dayLowPriceTime;
    }

    /**
     * 获取当日开盘价
     *
     * @return open_price - 当日开盘价
     */
    public BigDecimal getOpenPrice() {
        return openPrice;
    }

    /**
     * 设置当日开盘价
     *
     * @param openPrice 当日开盘价
     */
    public void setOpenPrice(BigDecimal openPrice) {
        this.openPrice = openPrice;
    }

    /**
     * 获取昨日收盘价
     *
     * @return yesterday_price - 昨日收盘价
     */
    public BigDecimal getYesterdayPrice() {
        return yesterdayPrice;
    }

    /**
     * 设置昨日收盘价
     *
     * @param yesterdayPrice 昨日收盘价
     */
    public void setYesterdayPrice(BigDecimal yesterdayPrice) {
        this.yesterdayPrice = yesterdayPrice;
    }

    /**
     * 获取最佳时间
     *
     * @return best_time - 最佳时间
     */
    public Date getBestTime() {
        return bestTime;
    }

    /**
     * 设置最佳时间
     *
     * @param bestTime 最佳时间
     */
    public void setBestTime(Date bestTime) {
        this.bestTime = bestTime;
    }
}